import Mock from 'mockjs'
import Dashboard from '@/mock/dashboard'
import Menu from '@/mock/menu'
import User from '@/mock/website/user'
import Notice from "@/mock/website/notice";

Mock.mock('/api/menus', 'get', Menu.menus)

// dashboard
Mock.mock('/api/dashboard/cards', 'get', Dashboard.dataCard)
Mock.mock('/api/dashboard/number/rote', 'get', Dashboard.numberRote)
Mock.mock('/api/dashboard/file/categories', 'get', Dashboard.fileCategories)
Mock.mock('/api/dashboard/incomes', 'get', Dashboard.incomeLine)
Mock.mock('/api/dashboard/share/top', 'get', Dashboard.topShare)
Mock.mock('/api/dashboard/notices', 'get', Dashboard.noticeList)

// user
Mock.mock('/api/website/users', 'get', User.users)

//notice
Mock.mock('/api/website/notices','get',Notice.notices)